package com.ktjy.action.action01.service;

import com.ktjy.action.action01.entity.Employee;

public class EmployeeServiceImpl implements EmployeeService {
    private Employee employee;


    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    @Override
    public void introduce() {
        System.out.println("大家好,我是" + employee.getJop() + "岗位的" + employee.getName() + ",今年" + employee.getAge() + "岁.");
    }
}
